package com.example.admin.utils;

import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.lang.annotation.*;


@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
@JacksonAnnotationsInside
@JsonSerialize(using = CodeToNameSerializer.class, nullsUsing = CodeToNameSerializer.class, include =JsonSerialize.Inclusion.NON_NULL)
public @interface CodeToName {

    String codeNameFiled() default "";

    String codeClsType() default "";

}
